package org.dromara.nursing.domain.bo;

import org.dromara.nursing.domain.StaffSchedule;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 排班信息表业务对象 ms_staff_schedule
 *
 * @author Xue
 * @date 2025-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = StaffSchedule.class, reverseConvertGenerate = false)
public class StaffScheduleBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long scheduleId;

    /**
     * 员工姓名
     */
    @NotBlank(message = "员工姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String staffName;

    /**
     * 所属部门
     */
    private String department;

    /**
     * 上班状态
     */
    @NotNull(message = "上班状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long workStatus;

    /**
     * 班次类型
     */
    @NotBlank(message = "班次类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiftType;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 工作日期
     */
    private Date workDate;

    /**
     * 工作地点
     */
    private String location;

    /**
     * 工作内容
     */
    private String workContent;

    /**
     * 备注
     */
    private String remarks;


}
